package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.pojo.Order;
import com.project.pojo.Ordercopy;
import com.project.vo.InsuranceTravelVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper extends BaseMapper<Order> {
    int getOrderIdByUser(int userid,int type);
    int insertOrderCopy(Ordercopy ordercopy);
    Order getOrderById(int id);
    int updateOrderByAdmin(Order order);
    int updateOrderCopy(Ordercopy ordercopy);
    int insertOrder(Order order);
}
